package com.ygxsk.carhome.response;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;
import org.greenrobot.greendao.annotation.Transient;

/*
 * @Author:itchenqi175@163.com
 * @Time:2023-08-07  09:59
 * @Description:车牌下的  车系的实体， 将来是可以做本地数据库搜索的
 */
@Entity(nameInDb = "CARBRANDSERIES")//防止混淆变动 车辆的品牌
public class CarBrandSeriesLineSmallCategory {

//    {
//           "carBrandId": 6,
//            "carBrandName": "",
//            "carSeriesId": 1,
//            "carSeriesName": "宋plus",
//            "createTime": "2023-07-24 16:53:50",
//            "imageUrl": "",
//            "isDelete": 0
//    }

    @Id(autoincrement = true)//主键自动增长
    @Property(nameInDb = "NUMID")
    Long numId;

    //设置类型id
    @Property(nameInDb = "CARSERIESID")
    private String carSeriesId;

    //车辆系列的名称
    @Property(nameInDb = "CARSERIESNAME")
    private String carSeriesName;

    @Transient
    private String carBrandId;

    @Transient
    private String carBrandName;

    @Transient
    private transient boolean isChecked;


    @Generated(hash = 1305050330)
    public CarBrandSeriesLineSmallCategory(Long numId, String carSeriesId,
                                           String carSeriesName) {
        this.numId = numId;
        this.carSeriesId = carSeriesId;
        this.carSeriesName = carSeriesName;
    }

    @Generated(hash = 1176638112)
    public CarBrandSeriesLineSmallCategory() {
    }


    public String getCarSeriesName() {
        return carSeriesName;
    }

    public void setCarSeriesName(String carSeriesName) {
        this.carSeriesName = carSeriesName;
    }

    public String getCarSeriesId() {
        return carSeriesId;
    }

    public void setCarSeriesId(String carSeriesId) {
        this.carSeriesId = carSeriesId;
    }

    public String getCarBrandId() {
        return carBrandId;
    }

    public void setCarBrandId(String carBrandId) {
        this.carBrandId = carBrandId;
    }

    public String getCarBrandName() {
        return carBrandName;
    }

    public void setCarBrandName(String carBrandName) {
        this.carBrandName = carBrandName;
    }

    public boolean isChecked() {
        return isChecked;
    }

    public void setChecked(boolean checked) {
        isChecked = checked;
    }

    public Long getNumId() {
        return this.numId;
    }

    public void setNumId(Long numId) {
        this.numId = numId;
    }

}
